package com.xiaoshuidi.cloud.module.rooms.convert.equipmentstocktaking;

import com.xiaoshuidi.cloud.module.rooms.controller.admin.equipmentStocktaking.vo.EquipmentStocktakingCreateReqVO;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.equipmentStocktaking.vo.EquipmentStocktakingPageResp;
import com.xiaoshuidi.cloud.module.rooms.pojo.EquipmentStocktaking;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Description:
 * @Author: Link
 * @CreateTime: 2023-05-21 18:28
 * @Version: 1.0
 */
@Mapper
public interface EquipmentStocktakingConvert {
    EquipmentStocktakingConvert INSTANCE = Mappers.getMapper(EquipmentStocktakingConvert.class);


    EquipmentStocktaking convert(EquipmentStocktakingCreateReqVO bean);

    List<EquipmentStocktakingPageResp> convertList(List<EquipmentStocktaking> list);
}
